﻿using CleanArchitecture.Core.SharedKernel;

namespace CleanArchitecture.Infrastructure.Entities.AdminUsers
{
    /// <summary>
    /// Customer logged-in event
    /// </summary>
    public class AdminUserLoggedEvent : BaseDomainEvent
    {
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="customer">Customer</param>
        public AdminUserLoggedEvent(AdminUser adminuser)
        {
            this.Entity = adminuser;
        }

        /// <summary>
        /// Customer
        /// </summary>
        public AdminUser Entity
        {
            get;
        }
    }
}
